/**
 * 关注的人
 * */
const mongoose = require('mongoose');
const Schema = mongoose.Schema;

//创建 Schema
const LikePeople = new Schema({
    to_user_Id:{
        type:String,
        required:true
    },
    to_user_Name:{
        type:String,
        required:true
    },
    userId:{
        type:String,
        required:true
    },
    userName:{
        type:String,
        required:true
    },
    date:{
        type:Date,
        default:Date.now()
    }
});

module.exports = Like = mongoose.model('likepeople',LikePeople);
